<f:view xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:p="http://primefaces.org/ui"
	xmlns:pm="http://primefaces.org/mobile" contentType="text/html" renderKitId="PRIMEFACES_MOBILE">

	<pm:page title="Sipariş">
		<pm:view id="main">
			<pm:header title="Order Sheet" swatch="b">
				<f:facet name="right">
					<p:commandLink value="Logout" icon="back" action="#{cWaiterAction.logout()}" />
				</f:facet>
			</pm:header>
			<pm:content>
				<h:form id="myForm">
					<p:dataList var="masa" value="#{cWaiterForm.tables}" type="inset">
						<f:facet name="header">
							<h:outputText value="Tables" />
						</f:facet>
						<p:commandLink action="#{cWaiterAction.navigateTable(masa)}" value="#{masa.name}" />
					</p:dataList>
				</h:form>
			</pm:content>
		</pm:view>
	</pm:page>
</f:view>